/*Copyright (c) 2020 Orca Data Technology(Xi'an)CO.LTD. All rights reserved. * Create by Jsir on 2024/6/26 下午3:23*/
import {createBrowserRouter, RouterProvider} from 'react-router-dom';
import App from '@/App.jsx';
// import {Design} from '@/pages/design/index.tsx';

const router = createBrowserRouter([
    {
        path: '/',
        element: <App></App>
    }
    // {
    //     path: '/design',
    //     element: <Design></Design>
    // }
]);

export const RPProvider = () => {
    return <RouterProvider router={router}></RouterProvider>;
};
export default RPProvider;
